package com.dotflat.fin.PO;

import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.domain.AreableObjectBase;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.util.Date;

/**
 *  账单对象
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class FinPayConfigPO extends AreableObjectBasePO {

    //    基础设置
    @Column(columnDefinition = "VARCHAR(512) COMMENT '默认单据条款'", nullable = false)
    private String defaultPayOrderNote;

    @Column(columnDefinition = "VARCHAR(512) COMMENT '收费单据脚注'", nullable = false)
    private String defaultPayOrderFootnote;

    @Column(columnDefinition = "VARCHAR(128) COMMENT '默认所属学期'", nullable = false)
    private String defaultPayCircleName;

    @Column(columnDefinition = "bit(1) default 1 COMMENT '是否启用园区微信支付'")
    private Boolean wxpayEnabled = false;

    @Column(columnDefinition = "bit(1) default 1 COMMENT '是否启用园区支付宝支付'")
    private Boolean alipayEnabled = false;

}
